package com.hdl.service.impl;

import java.util.List;

import com.hdl.dao.AddressDao;
import com.hdl.dao.impl.AddressDaoImpl;
import com.hdl.entity.MallAddress;
import com.hdl.service.AddressService;

public class AddressServiceImpl implements AddressService {

	private AddressDao dao = new AddressDaoImpl();
	
	@Override
	public List<MallAddress> getAllByUserId(String userId) {
		return dao.getAllByUserId(userId);
	}

	@Override
	public MallAddress selectByAddressId(String mallAddressId) {
		return dao.selectByAddressId(mallAddressId);
	}

	@Override
	public List<MallAddress> getAllNameByAddress(List<MallAddress> list) {
		return dao.getAllNameByAddress(list);
	}

}
